package com.xinke.module.system.model.vo.dict;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 字典数据新增/修改 Request VO")
@Data
public class DictDataSaveReqVO {

    @Schema(description = "字典编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "16413")
    private Long dataId;

    @Schema(description = "字典排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "字典排序不能为空")
    private Integer dataSort;

    @Schema(description = "字典标签", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "字典标签不能为空")
    private String dataLabel;

    @Schema(description = "字典键值", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "字典键值不能为空")
    private String dataValue;

    @Schema(description = "字典类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "字典类型不能为空")
    private String dictItem;

    @Schema(description = "状态（1正常 0停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态（1正常 0停用）不能为空")
    private Integer dataStatus;

    @Schema(description = "颜色类型", example = "2")
    private String colorType;

    @Schema(description = "css 样式")
    private String cssClass;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}